package cn.tedu.boyou.acticle.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 存储地区查询时，某个地区推荐旅游的最大天数和最小天数；
 */
@Setter@Getter@NoArgsConstructor
public class DestDaysRange extends BaseRange{
    public static final DestDaysRange UNLIMIT_DAYS = new DestDaysRange(Integer.MIN_VALUE,Integer.MAX_VALUE);
    public static final DestDaysRange DAY2_TO_DAY3 = new DestDaysRange(2,3);
    public static final DestDaysRange DAY4_TO_DAY5 = new DestDaysRange(4,5);
    public static final DestDaysRange DAY6_TO_DAY9  = new DestDaysRange(6,9);
    public static final DestDaysRange ABOVE_DAY10 = new DestDaysRange(10,Integer.MAX_VALUE);

    public DestDaysRange(int min, int max){
        super(min,max);
    }
}
